<template>
  <el-form>

  <el-button type="primary" style="width:100%;" @click="add"> 上报 </el-button><br><br><br><br><br><br><br>
  <el-button type="primary" style="width:100%;" @click="update"> 修改 </el-button>
  </el-form>
  <!--<div>-->
    <!--<el-button @click="dialogFormVisible = false">取 消</el-button>-->
    <!--<el-button type="primary" @click="submitAdd">确 定</el-button>-->
  <!--</div>-->
</template>
<script>
export default {
  // 函数区
  methods: {
    //路由
    add() {
      this.$router.push({ path: '/add' })
    },
    update() {
      this.$router.push({ path: '/list' })
    }
  }
}
</script>
<style scoped>
.cell {
  text-align: center;
}
.table_border {
    width: 100%;
    border: 0.06rem solid #ebeef5;
  }

.table_border td {
  padding: 0.5rem;
  border-right: 1px solid #ebeef5;
  border-bottom: 1px solid #ebeef5;
}

.t_left {
  width: 30%;
}
.el-input {
  width: 60%;
}
</style>
